package com.mdhw.system.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * sys_user_tixian_log
 * @author 
 */
@Data
public class SysUserTixianLog implements Serializable {
    /**
     * id
     */
    private Long id;

    /**
     * 创建日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createDate;



    /**
     * 删除标识
     */
    private String status;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 提现金额
     */
    private BigDecimal tixianPrice;

    /**
     * 提现时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date tixianTime;

    /**
     * 提现银行
     */
    private String tixianBankCode;

    /**
     * 手续费
     */
    private BigDecimal shoufufei;

    /**
     * 1提现未到账 5提现到账
     */
    private String tixianStatus;

    private String tixianBankNo;
    private String tixianBankPhone;

    private BigDecimal balance;

    private Long tixianStatusOperatorUserId;

    private String tixianBankName;

    private String tixianBankZhihang;

    private String userName;

    private String remark;

    private BigDecimal daozhangPrice;

    private static final long serialVersionUID = 1L;

    public static void main(String[] args) {
        String str = "佣金(1029)t:418.10 sxf:0.00";
        int i = str.indexOf("(");
        int i1 = str.indexOf(")");
        String substring = str.substring(i+1, i1);
        System.out.println(substring);
    }

}